package com.th.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.th.common.annotation.Excel;
import com.th.common.core.domain.BaseEntity;

/**
 * 客户对象 us_user
 *
 * @author ruoyi
 * @date 2023-06-24
 */
public class UsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 密码 */
    @Excel(name = "密码")
    private String passWord;

    /** 用户类型  1游客 2设计师 3工作室 4企业

 */
    @Excel(name = "用户类型  1游客 2设计师 3工作室 4企业 ")
    private Long userRole;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userAvatar;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 用户简介 */
    @Excel(name = "用户简介")
    private String userDesc;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPassWord(String passWord)
    {
        this.passWord = passWord;
    }

    public String getPassWord()
    {
        return passWord;
    }
    public void setUserRole(Long userRole)
    {
        this.userRole = userRole;
    }

    public Long getUserRole()
    {
        return userRole;
    }
    public void setUserAvatar(String userAvatar)
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar()
    {
        return userAvatar;
    }
    public void setUserPhone(String userPhone)
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone()
    {
        return userPhone;
    }
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail()
    {
        return userEmail;
    }
    public void setUserDesc(String userDesc)
    {
        this.userDesc = userDesc;
    }

    public String getUserDesc()
    {
        return userDesc;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickName", getNickName())
            .append("userName", getUserName())
            .append("passWord", getPassWord())
            .append("userRole", getUserRole())
            .append("userAvatar", getUserAvatar())
            .append("userPhone", getUserPhone())
            .append("userEmail", getUserEmail())
            .append("userDesc", getUserDesc())
            .append("status", getStatus())
            .toString();
    }
}
